import request from "@/request/index.js"



export function doReadMessage(data){
    return request({
        url: "/message/doReadMessage",
        method:"post",
		header: {
		    'content-type': 'application/x-www-form-urlencoded'
		},
        params:data
    })  
}



export function getStatus(data){
    return request({
        url: "/message/getStatus",
        method:"post",
		header: {
		    'content-type': 'application/x-www-form-urlencoded'
		},
        params:data
    })  
}




export function listMessageByUser(data){
    return request({
        url: "/message/listMessageByUser",
        method:"post",
		header: {
		    'content-type': 'application/x-www-form-urlencoded'
		},
        params:data
    })  
}

export function doReadAllMessage(data){
    return request({
        url: "/message/doReadAllMessage",
        method:"post",
		header: {
		    'content-type': 'application/x-www-form-urlencoded'
		},
        params:data
    })  
}

